package com.luguz.common.weather;

/**
 * @author Guz
 * @create 2022-02--27 20:25
 */
public class MatchingIcon {
    public static String matchingByType(String type){
        String icon = "el-icon-loading";
        switch (type){
            case "晴":
                icon = "el-icon-sunny";
                break;
            case "多云":
                icon = "el-icon-sunrise";
                break;
            case "小雨":
                icon = "el-icon-light-rain";
                break;
            case "大雨":
                icon = "el-icon-heavy-rain";
                break;
            case "阴":
                icon = "el-icon-partly-cloudy";
                break;
            case "小雪":
                icon = "el-icon-ice-cream-round";
                break;

        }
        return icon;
    }
}
